package com.hff.service.impl;

import com.hff.dao.FileDao;
import com.hff.pojo.FileData;
import com.hff.service.FileService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class FileServiceImpl implements FileService {
    @Resource
    private FileDao fileDao;
    @Override
    public void saveFileData(FileData fileData) {
        fileDao.saveFileData(fileData);
    }

    @Override
    public FileData queryFileData(String uuid) {
        return fileDao.queryFileData(uuid);
    }

}
